package com.todo.biz.iface.frontend.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author azhebuxing
 * @date 2024/5/10 20:13
 * @description
 */
@Data
@Schema(title = "根据城市查询收藏集和入参", description = "根据城市查询收藏集和入参")
public class QueryCollectSetByCityParam {

    @NotNull
    @Schema(title = "收藏类型", description = "收藏类型：美食、门店、景点等")
    private Integer collectType;

    @Schema(title = "城市", description = "城市")
    private String city;

    public boolean baseCheck() {
        if (collectType == null || city == null){
            return false;
        }
        return true;
    }
}
